POV-Ray : Newsgroups : povray.general : Warning: No pigment type given. : Re: Warning: No pigment type given. Server Time
5 Aug 2024 06:18:25 EDT (-0400)
  Re: Warning: No pigment type given.  
From: Warp
Date: 10 Jan 2003 11:02:22
Message: <3e1eee8e@news.povray.org>
Tom Melly <tom### [at] tomandlucouk> wrote:
> No - where a texture component is specified I would have it used. What *I* would
> like is unspecified components (e.g. the normal, pigment, or finish) of
> sub-objects to inherit that component from the default texture of the union.

  This should not happen implicitly.
  A subobject can perfectly have no normal specification (you don't want
any normal modifications for it) and you want it to stay that way in the
CSG as well, even though the overall texture for the CSG could have a
normal specification.
  If anything, this functionality should be behind a keyword or something.

  Perhaps something like:

union
{ object { whatever pigment { rgb 1 } normal { to_be_specified_later } }
  object { ... }
  ...
  normal { bumps 1 } // this applies to the first object
}

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.